!function(){"use strict";var t=Object.freeze({__proto__:null,get queue(){return kn},get start(){return bn},get stop(){return _n},get track(){return pn}}),e=Object.freeze({__proto__:null,get data(){return Bn},get start(){return Gn},get stop(){return Kn},get upgrade(){return Zn}}),n=Object.freeze({__proto__:null,get check(){return tr},get compute(){return nr},get data(){return Fn},get start(){return $n},get stop(){return rr},get trigger(){return er}}),r=Object.freeze({__proto__:null,get compute(){return lr},get data(){return ar},get log(){return sr},get reset(){return dr},get start(){return ur},get stop(){return cr},get updates(){return ir}}),a=Object.freeze({__proto__:null,get callback(){return Or},get callbacks(){return fr},get clear(){return xr},get consent(){return kr},get consentv2(){return _r},get data(){return pr},get electron(){return hr},get id(){return br},get metadata(){return yr},get save(){return Er},get shortid(){return Xr},get start(){return mr},get stop(){return wr}}),i=Object.freeze({__proto__:null,get data(){return Wr},get envelope(){return Rr},get start(){return qr},get stop(){return zr}}),o={projectId:null,delay:1e3,lean:!1,lite:!1,track:!0,content:!0,drop:[],mask:[],unmask:[],regions:[],cookies:[],fraud:!0,checksum:[],report:null,upload:null,fallback:null,upgrade:null,action:null,dob:null,delayDom:!1,throttleDom:!0,conversions:!1,includeSubdomains:!0};function u(t){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(t):t}var c=0;function s(){return performance.now()+performance.timeOrigin}function l(t){void 0===t&&(t=null);var e=0===c?s():c,n=t&&t.timeStamp>0?t.timeStamp:performance.now(),r=t&&t.view?t.view.performance.timeOrigin:performance.timeOrigin;return Math.max(Math.round(n+r-e),0)}var d="0.8.30";function p(t,e){void 0===e&&(e=null);for(var n,r=5381,a=r,i=0;i=48&&c<=57,a=a||64===c,i=9===c||10===c||13===c||32===c,0===u||u===t.length-1||i){if(r||a){null===o&&(o=t.split(""));var s=t.substring(e+1,i?u:u+1);s=v&&null!==w?s.match(w)?s:T(s,"▪","▫"):_(s),o.splice(e+1-n,s.length,s),n+=s.length-1}i&&(r=!1,a=!1,e=u)}}return o?o.join(""):t}(t);case"input":case"change":return S(t)}return t;case 2:case 3:switch(e){case"*T":case"data-":return r?k(t):_(t);case"src":case"srcset":case"title":case"alt":return 3===n?"src"===e&&(null==t?void 0:t.startsWith("blob:"))?"blob:":"":t;case"value":case"click":case"input":case"change":return S(t);case"placeholder":return _(t)}break;case 4:switch(e){case"*T":case"data-":return r?k(t):_(t);case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":return""}break;case 5:switch(e){case"*T":case"data-":return T(t,"▪","▫");case"value":case"input":case"click":case"change":return Array(5).join("•");case"checksum":case"src":case"srcset":case"alt":case"title":return""}}}return t}function b(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var r=t;if(e)r="".concat("https://").concat("Electron");else{var a=o.drop;if(a&&a.length>0&&t&&t.indexOf("?")>0){var i=t.split("?"),u=i[0],c=i[1];r=u+"?"+c.split("&").map((function(t){return a.some((function(e){return 0===t.indexOf("".concat(e,"="))}))?"".concat(t.split("=")[0],"=").concat("*na*"):t})).join("&")}}return n&&(r=r.substring(0,h)),r}function k(t){var e=t.trim();if(e.length>0){var n=e[0],r=t.indexOf(n),a=t.substr(0,r),i=t.substr(r+e.length);return"".concat(a).concat(e.length.toString(36)).concat(i)}return t}function _(t){return t.replace(f,"•")}function T(t,e,n){return x(),t?t.replace(m,e).replace(g,n):t}function S(t){for(var e=5*(Math.floor(t.length/5)+1),n="",r=0;r0&&r%5==0?" ":"•";return n}function x(){if(v&&null===g)try{g=new RegExp("\\p{N}","gu"),m=new RegExp("\\p{L}","gu"),w=new RegExp("\\p{Sc}","gu")}catch(t){v=!1}}var O=null,E=null,M=!1;function I(){M&&(O={time:l(),event:4,data:{visible:E.visible,docWidth:E.docWidth,docHeight:E.docHeight,screenWidth:E.screenWidth,screenHeight:E.screenHeight,scrollX:E.scrollX,scrollY:E.scrollY,pointerX:E.pointerX,pointerY:E.pointerY,activityTime:E.activityTime,scrollTime:E.scrollTime,pointerTime:E.pointerTime,moveX:E.moveX,moveY:E.moveY,moveTime:E.moveTime,downX:E.downX,downY:E.downY,downTime:E.downTime,upX:E.upX,upY:E.upY,upTime:E.upTime,pointerPrevX:E.pointerPrevX,pointerPrevY:E.pointerPrevY,pointerPrevTime:E.pointerPrevTime}}),E=E||{visible:1,docWidth:0,docHeight:0,screenWidth:0,screenHeight:0,scrollX:0,scrollY:0,pointerX:0,pointerY:0,activityTime:0,scrollTime:0,pointerTime:void 0,moveX:void 0,moveY:void 0,moveTime:void 0,downX:void 0,downY:void 0,downTime:void 0,upX:void 0,upY:void 0,upTime:void 0,pointerPrevX:void 0,pointerPrevY:void 0,pointerPrevTime:void 0}}function N(t,e,n,r){switch(t){case 8:E.docWidth=e,E.docHeight=n;break;case 11:E.screenWidth=e,E.screenHeight=n;break;case 10:E.scrollX=e,E.scrollY=n,E.scrollTime=r;break;case 12:E.moveX=e,E.moveY=n,E.moveTime=r,E.pointerPrevX=E.pointerX,E.pointerPrevY=E.pointerY,E.pointerPrevTime=E.pointerTime,E.pointerX=e,E.pointerY=n,E.pointerTime=r;break;case 13:E.downX=e,E.downY=n,E.downTime=r,E.pointerPrevX=E.pointerX,E.pointerPrevY=E.pointerY,E.pointerPrevTime=E.pointerTime,E.pointerX=e,E.pointerY=n,E.pointerTime=r;break;case 14:E.upX=e,E.upY=n,E.upTime=r,E.pointerPrevX=E.pointerX,E.pointerPrevY=E.pointerY,E.pointerPrevTime=E.pointerTime,E.pointerX=e,E.pointerY=n,E.pointerTime=r;break;default:E.pointerPrevX=E.pointerX,E.pointerPrevY=E.pointerY,E.pointerPrevTime=E.pointerTime,E.pointerX=e,E.pointerY=n,E.pointerTime=r}M=!0}function X(t){E.activityTime=t}function P(t,e){E.visible="visible"===e?1:0,E.visible||X(t),M=!0}function Y(){M&&Qn(4)}var j=Object.freeze({__proto__:null,activity:X,compute:Y,reset:I,start:function(){M=!1,I()},get state(){return O},stop:function(){I()},track:N,visibility:P}),C=null,A=null;function D(t){t in C||(C[t]=0),t in A||(A[t]=0),C[t]++,A[t]++}function H(t,e){null!==e&&(t in C||(C[t]=0),t in A||(A[t]=0),C[t]+=e,A[t]+=e)}function W(t,e){null!==e&&!1===isNaN(e)&&(t in C||(C[t]=0),(e>C[t]||0===C[t])&&(A[t]=e,C[t]=e))}function q(t,e,n,r){return new(n||(n=Promise))((function(a,i){function o(t){try{c(r.next(t))}catch(t){i(t)}}function u(t){try{c(r.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?a(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(o,u)}c((r=r.apply(t,e||[])).next())}))}function z(t,e){var n,r,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(c){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(o=0)),o;)try{if(n=1,r&&(a=2&u[0]?r.return:u[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,u[1])).done)return a;switch(r=0,a&&(u=[2&u[0],a.value]),u[0]){case 0:case 1:a=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,r=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==u[0]&&2!==u[0])){o=0;continue}if(3===u[0]&&(!a||u[1]>a[0]&&u[1]=5?"".concat(u.substring(0,2)).concat(T(u.substring(2),"*","*")):T(u,"*","*")),V("userId",[(a=i).userId]),V("userHint",[a.userHint]),V("userType",[G(t)]),e&&(V("sessionId",[e]),a.sessionId=e),n&&(V("pageId",[n]),a.pageId=n),[2,a]}var u}))}))}function V(t,e){if(oa()&&t&&e&&"string"==typeof t&&t.length<255){for(var n=(t in R?R[t]:[]),r=0;r0?"email":"string"}var Z=Object.freeze({__proto__:null,compute:F,get data(){return R},identify:U,reset:J,set:L,start:function(){J()},stop:function(){J()}}),K=null,Q=[],$=null,tt=null,et={ad_Storage:"denied",analytics_Storage:"denied"};function nt(t,e){void 0===t&&(t=et),void 0===e&&(e=1),tt={ad_Storage:rt(t.ad_Storage),analytics_Storage:rt(t.analytics_Storage)},function(t){void 0===t&&(t=!1);var e=o.lean?0:1;!function(t,e){void 0===e&&(e=!1);if(Q.length>0)for(var n=0;n=1||t.consent!==e||t.dob!==r){st("_clck",[K.userId,2,n.toString(36),e,r].join("^"),365)}}(function(){var t={id:it(),version:0,expiry:null,consent:0,dob:0},e=ut("_clck",!o.includeSubdomains);if(e&&e.length>0){var n=e.includes("^")?e.split("^"):e.split("|");n.length>1&&(t.version=ot(n[1])),n.length>2&&(t.expiry=ot(n[2],36)),n.length>3&&1===ot(n[3])&&(t.consent=1),n.length>4&&ot(n[1])>1&&(t.dob=ot(n[4])),o.track=o.track||1===t.consent,t.id=o.track?n[0]:t.id}return t}(),1),gt(n),ht())}function rt(t){return"string"==typeof t?t.toLowerCase():"denied"}function at(t,e){try{return!!t[e]}catch(t){return!1}}function it(){var t=Math.floor(Math.random()*Math.pow(2,32));return window&&window.crypto&&window.crypto.getRandomValues&&Uint32Array&&(t=window.crypto.getRandomValues(new Uint32Array(1))[0]),t.toString(36)}function ot(t,e){return void 0===e&&(e=10),parseInt(t,e)}function ut(t,e){var n;if(void 0===e&&(e=!1),at(document,"cookie")){var r=document.cookie.split(";");if(r)for(var a=0;a1&&i[0]&&i[0].trim()===t){for(var o=ct(i[1]),u=o[0],c=o[1];u;)u=(n=ct(c))[0],c=n[1];return e?c.endsWith("".concat("~","1"))?c.substring(0,c.length-2):null:c}}}return null}function ct(t){try{var e=decodeURIComponent(t);return[e!=t,e]}catch(t){}return[!1,t]}function st(t,e,n){if((o.track||""==e)&&(navigator&&navigator.cookieEnabled||at(document,"cookie"))){var r=function(t){return encodeURIComponent(t)}(e),a=new Date;a.setDate(a.getDate()+n);var i=a?"expires="+a.toUTCString():"",u="".concat(t,"=").concat(r).concat(";").concat(i).concat(";path=/");try{if(null===$){for(var c=location.hostname?location.hostname.split("."):[],s=c.length-1;s>=0;s--)if($=".".concat(c[s]).concat($||""),s100?Nt[t].push([e,0]):r[1]=e-r[0]}else Nt[t]=[[e,0]]}});var jt="CompressionStream"in window;function Ct(t){return q(this,void 0,void 0,(function(){var e,n;return z(this,(function(r){switch(r.label){case 0:return r.trys.push([0,3,,4]),jt?(e=new ReadableStream({start:function(e){return q(this,void 0,void 0,(function(){return z(this,(function(n){return e.enqueue(t),e.close(),[2]}))}))}}).pipeThrough(new TextEncoderStream).pipeThrough(new window.CompressionStream("gzip")),n=Uint8Array.bind,[4,At(e)]):[3,2];case 1:return[2,new(n.apply(Uint8Array,[void 0,r.sent()]))];case 2:return[3,4];case 3:return r.sent(),[3,4];case 4:return[2,null]}}))}))}function At(t){return q(this,void 0,void 0,(function(){var e,n,r,a,i;return z(this,(function(o){switch(o.label){case 0:e=t.getReader(),n=[],r=!1,a=[],o.label=1;case 1:return r?[3,3]:[4,e.read()];case 2:return i=o.sent(),r=i.done,a=i.value,r?[2,n]:(n.push.apply(n,a),[3,1]);case 3:return[2,n]}}))}))}var Dt,Ht={};function Wt(t){var e=t.error||t;return e.message in Ht||(Ht[e.message]=0),Ht[e.message]++>=5||e&&e.message&&(Dt={message:e.message,line:t.lineno,column:t.colno,stack:e.stack,source:t.filename},qt(31)),!0}function qt(t){return q(this,void 0,void 0,(function(){var e;return z(this,(function(n){switch(e=[l(),t],t){case 31:e.push(Dt.message),e.push(Dt.line),e.push(Dt.column),e.push(Dt.stack),e.push(b(Dt.source)),kn(e);break;case 33:zt&&(e.push(zt.code),e.push(zt.name),e.push(zt.message),e.push(zt.stack),e.push(zt.severity),kn(e,!1))}return[2]}))}))}var zt,Rt={};function Lt(t,e,n,r,a){void 0===n&&(n=null),void 0===r&&(r=null),void 0===a&&(a=null);var i=n?"".concat(n,"|").concat(r):"";t in Rt&&Rt[t].indexOf(i)>=0||(zt={code:t,name:n,message:r,stack:a,severity:e},t in Rt?Rt[t].push(i):Rt[t]=[i],qt(33))}var Ut={},Vt=new Set,Ft={},Jt={},Bt={},Gt={};function Zt(t){try{var e=t&&t.length>0?t.split(/ (.*)/):[""],n=e[0].split(/\|(.*)/),r=parseInt(n[0]),a=n.length>1?n[1]:"",i=e.length>1?JSON.parse(e[1]):{};for(var o in Ft[r]={},Jt[r]={},Bt[r]={},Gt[r]=a,i){var u=parseInt(o),c=i[o],s=2;switch(c.startsWith("~")?s=0:c.startsWith("!")&&(s=4),s){case 0:var l=c.slice(1);Ft[r][u]=ee(l);break;case 2:Jt[r][u]=c;break;case 4:var d=c.slice(1);Bt[r][u]=d}}}catch(t){Lt(8,1,t?t.name:null)}}function Kt(t){return JSON.parse(JSON.stringify(t))}function Qt(){try{for(var t in Ft){var e=parseInt(t);if(""==Gt[e]||document.querySelector(Gt[e])){var n=Ft[e];for(var r in n){var a=parseInt(r),i=(m=ne(Kt(n[a])))?JSON.stringify(m).slice(0,1e4):m;i&&te(e,a,i)}var o=Jt[e];for(var u in o){var c=!1,s=parseInt(u),l=o[s];l.startsWith("@")&&(c=!0,l=l.slice(1));var d=document.querySelectorAll(l);if(d){var f=Array.from(d).map((function(t){return t.textContent})).join("");te(e,s,(c?p(f).trim():f).slice(0,1e4))}}var h=Bt[e];for(var v in h){var g=parseInt(v);te(e,g,(void h[g]).trim().slice(0,1e4))}}}Vt.size>0&&Qn(40)}catch(t){Lt(5,1,t?t.name:null)}var m}function $t(){Vt.clear()}function te(t,e,n){var r,a=!1;t in Ut||(Ut[t]={},a=!0),r=Bt[t],0==Object.keys(r).length||e in Ut[t]&&Ut[t][e]==n||(a=!0),Ut[t][e]=n,a&&Vt.add(t)}function ee(t){for(var e=[],n=t.split(".");n.length>0;){var r=n.shift(),a=r.indexOf("["),i=r.indexOf("{"),o=r.indexOf("}");e.push({name:a>0?r.slice(0,a):i>0?r.slice(0,i):r,type:a>0?1:i>0?2:3,condition:i>0?r.slice(i+1,o):null})}return e}function ne(t,e){if(void 0===e&&(e=window),0==t.length)return e;var n,r=t.shift();if(e&&e[r.name]){var a=e[r.name];if(1!==r.type&&re(a,r.condition))n=ne(t,a);else if(Array.isArray(a)){for(var i=[],o=0,u=a;o1?t[n[0]]==n[1]:t[n[0]]}return!0}var ae=null;function ie(t){try{if(!ae)return;var e=function(t){try{return JSON.parse(t)}catch(t){return[]}}(t);e.forEach((function(t){ae(t)}))}catch(t){}}var oe=[j,r,Z,n,Yt,yt,a,i,t,It,e,Object.freeze({__proto__:null,clone:Kt,compute:Qt,data:Ut,keys:Vt,reset:$t,start:function(){$t()},stop:function(){$t()},trigger:Zt,update:te})];function ue(){C={},A={},D(5),oe.forEach((function(t){return Vr(t.start)()}))}function ce(){oe.slice().reverse().forEach((function(t){return Vr(t.stop)()})),C={},A={}}function se(){F(),Y(),lr(),Qn(0),Xt(),nr(),Qt(),mt()}var le=[],de=null;var pe=Object.freeze({__proto__:null,checkDocumentStyles:function(t){},compute:function(){},data:de,log:function(){},observe:function(){},reset:function(){},sheetAdoptionState:[],sheetUpdateState:[],start:function(){},state:le,stop:function(){}}),fe=[],he=null,ve=null,ge=null;function me(){fe=[],he=null,ve=null}function we(t,e){return void 0===e&&(e=0),q(this,void 0,void 0,(function(){var n,r,a;return z(this,(function(i){for(n=0,r=fe;n0&&r.height>0&&(e={x:Math.floor(r.left+("pageXOffset"in window?window.pageXOffset:n.scrollLeft)),y:Math.floor(r.top+("pageYOffset"in window?window.pageYOffset:n.scrollTop)),w:Math.floor(r.width),h:Math.floor(r.height)})}return e}(o);0===n.detail&&c&&(a=Math.round(c.x+c.w/2),i=Math.round(c.y+c.h/2));var s=c?Math.max(Math.floor((a-c.x)/c.w*32767),0):0,d=c?Math.max(Math.floor((i-c.y)/c.h*32767),0):0;if(null!==a&&null!==i){var p=function(t){var e=null,n=!1;if(t){var r=t.textContent||String(t.value||"")||t.alt;if(r){var a=r.replace(/\s+/g," ").trim();n=(e=a.substring(0,25)).length===a.length}}return{text:e,isFullText:n?1:0}}(o);_e.push({time:l(n),event:t,data:{target:o,x:a,y:i,eX:s,eY:d,button:n.button,reaction:Se(o),context:xe(u),text:p.text,link:u?u.href:null,hash:null,trust:n.isTrusted?1:0,isFullText:p.isFullText}}),we(Qe.bind(this,t))}}function Se(t){if(t.nodeType===Node.ELEMENT_NODE){var e=t.tagName.toLowerCase();if(ke.indexOf(e)>=0)return 0}return 1}function xe(t){if(t&&t.hasAttribute("target"))switch(t.getAttribute("target")){case"_blank":return 1;case"_parent":return 2;case"_top":return 3}return 0}function Oe(){_e=[]}function Ee(t,e){var n=0,r=null,a=null;function i(){for(var i=this,o=[],u=0;uu?.15*u:.2*u,d=u-s,p=He(c,s),f=He(c,d),h={time:l(t),event:10,data:{target:r,x:a,y:i,top:p,bottom:f}};if((null!==t||0!==a||0!==i)&&null!==a&&null!==i){var v=je.length,g=v>1?je[v-2]:null;g&&function(t,e){var n=t.data.x-e.data.x,r=t.data.y-e.data.y;return n*n+r*r<400&&e.time-t.time<50}(g,h)&&je.pop(),je.push(h),Tt(Ce),Ce=_t(We,500,10)}}}var De=Ee(Ae,25);function He(t,e){var n,r,a;return"caretPositionFromPoint"in document?a=null===(n=document.caretPositionFromPoint(t,e))||void 0===n?void 0:n.offsetNode:"caretRangeFromPoint"in document&&(a=null===(r=document.caretRangeFromPoint(t,e))||void 0===r?void 0:r.startContainer),a||(a=document.elementFromPoint(t,e)),a&&a.nodeType===Node.TEXT_NODE&&(a=a.parentNode),a}function We(t){we(Qe.bind(this,t))}var qe,ze,Re,Le=[];function Ue(t){Le.push({time:l(t),event:39,data:{target:Wn(t)}}),we(Qe.bind(this,39))}function Ve(){Le=[]}function Fe(t){qe={name:t.type,persisted:t.persisted?1:0},Qe(26,l(t)),la()}function Je(){qe=null}function Be(t){void 0===t&&(t=null),ze={visible:"visibilityState"in document?document.visibilityState:"default"},Qe(28,l(t))}function Ge(){ze=null}function Ze(){Re=null}function Ke(t){Re={focused:t},Qe(50)}function Qe(t,e){return void 0===e&&(e=null),q(this,void 0,void 0,(function(){var n,r,a,i,o,u,c,s,d,p,f,h,v,g,m,w,k,_,T,S,x,O,E,M,I,X,Y,j,C,A,D,H,W,q,R,L;return z(this,(function(z){switch(n=e||l(),r=[n,t],t){case 13:case 14:case 12:case 15:case 16:case 17:case 18:case 19:case 20:for(a=0,i=le;a0&&((r=[q.time,q.event]).push(o.id),r.push(q.data.x),r.push(q.data.y),void 0!==q.data.id&&(r.push(q.data.id),void 0!==q.data.isPrimary&&r.push(q.data.isPrimary.toString())),kn(r),(void 0===q.data.isPrimary||q.data.isPrimary)&&N(q.event,q.data.x,q.data.y,q.time));break;case 9:case 48:for(u=0,c=_e;u0&&(r.push(D.id),r.push(q.data.action),kn(r));break;case 11:h=be,r.push(h.width),r.push(h.height),N(t,h.width,h.height),Ye(),kn(r);break;case 26:v=qe,r.push(v.name),r.push(v.persisted),Je(),kn(r);break;case 27:for(g=0,m=le;g0&&((r=[q.time,q.event]).push(O.id),r.push(q.data.x),r.push(q.data.y),r.push(I),r.push(X),kn(r),N(q.event,q.data.x,q.data.y,q.time));je=[];break;case 42:for(Y=0,j=le;Y0&&((r=[q.time,q.event]).push(D.id),r.push(q.data.type),r.push(y(q.data.value,"change",D.privacy)),r.push(y(q.data.checksum,"checksum",D.privacy)),kn(r));break;case 39:for(C=0,A=Le;C0&&(r.push(D.id),kn(r));Ve();break;case 22:for(H=0,W=tn;H1?t[1]:null,a=JSON.stringify(t);switch(o.lean?!yn&&gn+a.length>10485760&&(Lt(10,0),yn=!0):yn=!1,r){case 5:if(yn)break;vn+=a.length;case 37:case 6:case 43:case 45:case 46:if(yn)break;gn+=a.length,cn.push(a);break;default:sn.push(a)}D(25);var i=function(){var t=!1===o.lean&&vn>0?100:Wr.sequence*o.delay;return"string"==typeof o.upload?Math.max(Math.min(t,3e4),100):o.delay}();n-wn>2*i&&(Tt(mn),mn=null),e&&null===mn&&(25!==r&&Et(),mn=_t(Tn,i),wn=n,tr(gn))}}function _n(){Tt(mn),Tn(!0),vn=0,gn=0,yn=!1,wn=0,cn=[],sn=[],ln={},pn=null,dn=!1}function Tn(t){return void 0===t&&(t=!1),q(this,void 0,void 0,(function(){var e,n,r,a,i,u,c,s;return z(this,(function(l){switch(l.label){case 0:return dn?(mn=null,(e=!1===o.lean&&gn>0&&(gn<1048576||Wr.sequence>0))&&W(1,1),function(){if(Wr){var t=[];tn=[];for(var e=(Wr.start||0)+(Wr.duration||0),n=Math.max(e-2e3,0),r=0,a=$e;r=n&&(i.time<=e&&tn.push(i),t.push(i))}$e=t,Qe(22)}}(),se(),n=!0===t,Wr?(r=JSON.stringify(Rr(n)),a="[".concat(sn.join(),"]"),i=e?"[".concat(cn.join(),"]"):"",n&&i.length>0&&r.length+a.length+i.length>65536&&(i=""),u=function(t){return t.p.length>0?'{"e":'.concat(t.e,',"a":').concat(t.a,',"p":').concat(t.p,"}"):'{"e":'.concat(t.e,',"a":').concat(t.a,"}")}({e:r,a:a,p:i}),n?(s=null,[3,3]):[3,1]):[2]):[2];case 1:return[4,Ct(u)];case 2:s=l.sent(),l.label=3;case 3:return H(2,(c=s)?c.length:u.length),Sn(u,c,Wr.sequence,n),sn=[],e&&(cn=[],gn=0,vn=0,yn=!1),[2]}}))}))}function Sn(t,e,n,r){if(void 0===r&&(r=!1),"string"==typeof o.upload){var a=o.upload,i=!1;if(r&&navigator&&navigator.sendBeacon)try{(i=navigator.sendBeacon.bind(navigator)(a,t))&&On(n)}catch(t){}if(!1===i){n in ln?ln[n].attempts++:ln[n]={data:t,attempts:1};var u=new XMLHttpRequest;u.open("POST",a,!0),u.timeout=15e3,u.ontimeout=function(){Ur(new Error("".concat("Timeout"," : ").concat(a)))},null!==n&&(u.onreadystatechange=function(){Vr(xn)(u,n)}),u.withCredentials=!0,e?(u.setRequestHeader("Accept","application/x-webinsights-gzip"),u.send(e)):u.send(t)}}else if(o.upload){(0,o.upload)(t),On(n)}}function xn(t,e){var n=ln[e];t&&4===t.readyState&&n&&((t.status<200||t.status>208)&&n.attempts<=1?t.status>=400&&t.status<500?er(6):(0===t.status&&(o.upload=o.fallback?o.fallback:o.upload),pn={sequence:e,attempts:n.attempts,status:t.status},Qn(2),Sn(n.data,null,e)):(pn={sequence:e,attempts:n.attempts,status:t.status},n.attempts>1&&Qn(2),200===t.status&&t.responseText&&function(t){for(var e=t&&t.length>0?t.split("\n"):[],n=0,r=e;n0?a.split(/ (.*)/):[""];switch(i[0]){case"END":er(6);break;case"UPGRADE":Zn("Auto");break;case"ACTION":o.action&&i.length>1&&o.action(i[1]);break;case"EXTRACT":i.length>1&&Zt(i[1]);break;case"SIGNAL":i.length>1&&ie(i[1]);break;case"MODULE":i.length>1&&un(i[1]);break;case"SNAPSHOT":o.lean=!1,zn()}}}(t.responseText),0===t.status&&(Sn(n.data,null,e,!0),er(3)),t.status>=200&&t.status<=208&&On(e),delete ln[e]))}function On(t){1===t&&(Er(),Or())}function En(t){return q(this,void 0,void 0,(function(){var e,n,r,a,i,o,u,c,s,d,p,f,h;return z(this,(function(v){switch(e=l(),n=[e,t],t){case 8:r=fn,n.push(r.width),n.push(r.height),N(t,r.width,r.height),kn(n);break;case 43:if((a=Yn).length>0){for(i=0,o=a;i=0?a?a.push(u):(a=[u],e.push(a),r++):(a=null,e.push(o),n[o]=r++)}else a=null,e.push(t[i]),r++;return e}(n),!0)}}return[2]}))}))}function Mn(t,e,n){return"".concat(t,"=").concat(y(e,0===t.indexOf("data-")?"data-":t,n))}function In(){fn=null}function Nn(){var t,e,n,r,a,i,o,u,c,s,l,d,p,f,h,v;In(),t=document.body,e=document.documentElement,n=t?t.clientWidth:null,r=t?t.scrollWidth:null,a=t?t.offsetWidth:null,i=e?e.clientWidth:null,o=e?e.scrollWidth:null,u=e?e.offsetWidth:null,c=Math.max(n,r,a,i,o,u),s=t?t.clientHeight:null,l=t?t.scrollHeight:null,d=t?t.offsetHeight:null,p=e?e.clientHeight:null,f=e?e.scrollHeight:null,h=e?e.offsetHeight:null,v=Math.max(s,l,d,p,f,h),null!==fn&&c===fn.width&&v===fn.height||null===c||null===v||(fn={width:c,height:v},En(8))}function Xn(t){!function(t){Jr(t===document?window:t,"scroll",De,!0)}(t),t.nodeType===Node.DOCUMENT_NODE&&(function(t){Jr(t,"click",Te.bind(this,9,t),!0),Jr(t,"contextmenu",Te.bind(this,48,t),!0)}(t),function(t){Jr(t,"submit",Ue,!0)}(t))}var Pn=Object.freeze({__proto__:null,observe:Xn,start:function(){$e=[],en(),Oe(),Ie=!1,Jr(window,"resize",Ne),Xe(),Jr(document,"visibilitychange",Be),Be(),Jr(window,"focus",(function(){return Ke(1)})),Jr(window,"blur",(function(){return Ke(0)})),je=[],Ae(),Ve(),Jr(window,"pagehide",Fe)},stop:function(){$e=[],en(),Oe(),Ye(),Ge(),Ze(),Tt(Ce),De.cleanup(),je=[],Ve(),Je()}}),Yn=[],jn=1,Cn=null;function An(){Rn(),Nn(),Un(document.documentElement),Xn(document)}function Dn(){return!1}function Hn(){}function Wn(t){var e=t.composed&&t.composedPath?t.composedPath():null,n=e&&e.length>0?e[0]:t.target;return n.nodeType===Node.DOCUMENT_NODE?n.documentElement:n}function qn(t){var e={id:0,hash:null,privacy:o.conversions?1:5};return t&&(e.id=Cn.has(t)?Cn.get(t):Un(t)),e}function zn(){Yn=[],function(t){var e=[t];for(;e.length>0;){for(var n=null,r=null,a=null,i=e.shift(),o=i.firstChild,u=i.parentElement?i.parentElement:i.parentNode?i.parentNode:null;o;)e.push(o),o=o.nextSibling;switch(i.nodeType){case Node.DOCUMENT_TYPE_NODE:var c=i;r="*D",n={name:c.name,publicId:c.publicId,systemId:c.systemId};break;case Node.TEXT_NODE:a=i.nodeValue,r=Cn.get(u)?"*T":r;break;case Node.ELEMENT_NODE:var s=i;n=Ln(s),r=["NOSCRIPT","SCRIPT","STYLE"].indexOf(s.tagName)<0?s.tagName:r}Vn(i,u,{tag:r,attributes:n,value:a})}}(document),En(43)}function Rn(){Cn=new WeakMap}function Ln(t){var e={},n=t.attributes;if(n&&n.length>0)for(var r=0;r0){for(var a=0,i=r;a0){for(var c=0,s=u;c0){for(var h=0,v=f;h0){for(var w=0,y=m;w=128?1:e,e=Wr.pageNum>=128?7:e,e=l()>72e5?2:e,(e=t>10485760?2:e)!==Fn.check&&er(e)}}function er(t){Fn.check=t,5!==t&&(xr(),la())}function nr(){0!==Fn.check&&Qn(35)}function rr(){Fn=null}var ar=null,ir=null,or=!1;function ur(){ar={},ir={},or=!1}function cr(){ar={},ir={},or=!1}function sr(t,e){if(e&&(e="".concat(e),t in ar||(ar[t]=[]),ar[t].indexOf(e)<0)){if(ar[t].length>128)return void(or||(or=!0,er(5)));ar[t].push(e),t in ir||(ir[t]=[]),ir[t].push(e)}}function lr(){Qn(1)}function dr(){ir={},or=!1}var pr=null,fr=[],hr=0,vr=null,gr={ad_Storage:"denied",analytics_Storage:"denied"};function mr(){var t,e,n,r=navigator&&"userAgent"in navigator?navigator.userAgent:"",a=null!==(n=null===(e=null===(t=null===Intl||void 0===Intl?void 0:Intl.DateTimeFormat())||void 0===t?void 0:t.resolvedOptions())||void 0===e?void 0:e.timeZone)&&void 0!==n?n:"",i=(new Date).getTimezoneOffset().toString(),u=window.location.ancestorOrigins?Array.from(window.location.ancestorOrigins).toString():"",c=document&&document.title?document.title:"";hr=r.indexOf("Electron")>0?1:0;var s=function(){var t={session:Xr(),ts:Math.round(Date.now()),count:1,upgrade:null,upload:""},e=Cr(1);if(e){var n=e.includes("^")?e.split("^"):e.split("|");n.length>=5&&t.ts-Pr(n[1])<18e5&&(t.session=n[0],t.count=Pr(n[2])+1,t.upgrade=Pr(n[3]),t.upload=n.length>=6?"".concat("https://").concat(n[5],"/").concat(n[4]):"".concat("https://").concat(n[4]))}return t}(),l=Yr(),d=o.projectId||p(location.host);pr={projectId:d,userId:l.id,sessionId:s.session,pageNum:s.count},o.lean=o.track&&null!==s.upgrade?0===s.upgrade:o.lean,o.upload=o.track&&"string"==typeof o.upload&&s.upload&&s.upload.length>"https://".length?s.upload:o.upload,sr(0,r),sr(3,c),sr(1,b(location.href,!!hr)),sr(2,document.referrer),sr(15,function(){var t=Xr();if(o.track&&Ir(window,"sessionStorage")){var e=sessionStorage.getItem("_cltk");t=e||t,sessionStorage.setItem("_cltk",t)}return t}()),sr(16,document.documentElement.lang),sr(17,document.dir),sr(26,"".concat(window.devicePixelRatio)),sr(28,l.dob.toString()),sr(29,l.version.toString()),sr(33,u),sr(34,a),sr(35,i),W(0,s.ts),W(1,0),W(35,hr);var f,h=null===window||void 0===window?void 0:window.Zone;h&&"__symbol__"in h&&W(39,1),navigator&&(sr(9,navigator.language),W(33,navigator.hardwareConcurrency),W(32,navigator.maxTouchPoints),W(34,Math.round(navigator.deviceMemory)),(f=navigator.userAgentData)&&f.getHighEntropyValues?f.getHighEntropyValues(["model","platform","platformVersion","uaFullVersion"]).then((function(t){var e;sr(22,t.platform),sr(23,t.platformVersion),null===(e=t.brands)||void 0===e||e.forEach((function(t){sr(24,t.name+"~"+t.version)})),sr(25,t.model),W(27,t.mobile?1:0)})):sr(22,navigator.platform)),screen&&(W(14,Math.round(screen.width)),W(15,Math.round(screen.height)),W(16,Math.round(screen.colorDepth)));for(var v=0,g=o.cookies;v0)for(var n=0;n=1||t.consent!==e||t.dob!==r)&&Ar([pr.userId,2,n.toString(36),e,r].join("|"),0)}function Xr(){var t=Math.floor(Math.random()*Math.pow(2,32));return window&&window.crypto&&window.crypto.getRandomValues&&Uint32Array&&(t=window.crypto.getRandomValues(new Uint32Array(1))[0]),t.toString(36)}function Pr(t,e){return void 0===e&&(e=10),parseInt(t,e)}function Yr(){var t={id:Xr(),version:0,expiry:null,consent:0,dob:0},e=Cr(0);if(e&&e.length>0){var n=e.includes("^")?e.split("^"):e.split("|");n.length>1&&(t.version=Pr(n[1])),n.length>2&&(t.expiry=Pr(n[2],36)),n.length>3&&1===Pr(n[3])&&(t.consent=1),n.length>4&&Pr(n[1])>1&&(t.dob=Pr(n[4])),o.track=o.track||1===t.consent,t.id=n[0]}return t}function jr(t,e){var n;if(void 0===e&&(e=!1),Ir(document,"cookie")){var r=document.cookie.split(";");if(r)for(var a=0;a1&&i[0]&&i[0].trim()===t){for(var o=Dr(i[1]),u=o[0],c=o[1];u;)u=(n=Dr(c))[0],c=n[1];return e?c.endsWith("".concat("~","1"))?c.substring(0,c.length-2):null:c}}}return null}function Cr(t){return window.insightsuetq&&window.insightsuetq.insightsGetCookie?window.insightsuetq.insightsGetCookie(t):null}function Ar(t,e){window.insightsuetq&&window.insightsuetq.insightsSetCookie&&window.insightsuetq.insightsSetCookie(t,e)}function Dr(t){try{var e=decodeURIComponent(t);return[e!=t,e]}catch(t){}return[!1,t]}var Hr,Wr=null;function qr(){var t=pr;Wr={version:d,sequence:0,start:0,duration:0,projectId:t.projectId,userId:t.userId,sessionId:t.sessionId,pageNum:t.pageNum,upload:0,end:0,applicationPlatform:0,url:""}}function zr(){Wr=null}function Rr(t){return Wr.start=Wr.start+Wr.duration,Wr.duration=l()-Wr.start,Wr.sequence++,Wr.upload=t&&"sendBeacon"in navigator?1:0,Wr.end=t?1:0,Wr.applicationPlatform=0,Wr.url=b(location.href,!1,!0),[Wr.version,Wr.sequence,Wr.start,Wr.duration,Wr.projectId,Wr.userId,Wr.sessionId,Wr.pageNum,Wr.upload,Wr.end,Wr.applicationPlatform,Wr.url]}function Lr(){Hr=[]}function Ur(t){if(Hr&&-1===Hr.indexOf(t.message)){var e=o.report;if(e&&e.length>0&&Wr){var n={v:Wr.version,p:Wr.projectId,u:Wr.userId,s:Wr.sessionId,n:Wr.pageNum};t.message&&(n.m=t.message),t.stack&&(n.e=t.stack);var r=new XMLHttpRequest;r.open("POST",e,!0),r.send(JSON.stringify(n)),Hr.push(t.message)}}return t}function Vr(t){return function(){var e=performance.now();try{t.apply(this,arguments)}catch(t){throw Ur(t)}var n=performance.now()-e;H(4,n),n>30&&(D(7),W(6,n),t.dn&&Lt(9,0,"".concat(t.dn,"-").concat(n)))}}var Fr=new Map;function Jr(t,e,n,r,a){void 0===r&&(r=!1),void 0===a&&(a=!0),n=Vr(n);try{t[u("addEventListener")](e,n,{capture:r,passive:a}),function(t){return Fr.has(t)}(t)||Fr.set(t,[]),Fr.get(t).push({event:e,listener:n,options:{capture:r,passive:a}})}catch(t){}}function Br(){Fr.forEach((function(t,e){!function(t,e){t.forEach((function(t){try{e[u("removeEventListener")](t.event,t.listener,{capture:t.options.capture,passive:t.options.passive})}catch(t){}})),Fr.delete(e)}(t,e)})),Fr=new Map}var Gr=null,Zr=null,Kr=null,Qr=0;function $r(){return!(Qr++>20)||(Lt(4,0),!1)}function ta(){Qr=0,Kr!==na()&&(la(),window.setTimeout(ea,250))}function ea(){sa(),W(29,1)}function na(){return location.href?location.href.replace(location.hash,""):location.href}var ra=!1;function aa(){ra=!0,c=s(),me(),Br(),Lr(),Kr=na(),Qr=0,Jr(window,"popstate",ta),null===Gr&&(Gr=history.pushState,history.pushState=function(){Gr.apply(this,arguments),oa()&&$r()&&ta()}),null===Zr&&(Zr=history.replaceState,history.replaceState=function(){Zr.apply(this,arguments),oa()&&$r()&&ta()})}function ia(){Kr=null,Qr=0,Lr(),Br(),me(),c=0,ra=!1}function oa(){return ra}function ua(){sa(),kt("webinsights","restart")}var ca=[Object.freeze({__proto__:null,start:function(){!function(){W(26,navigator.webdriver?1:0);try{W(31,window.top==window.self||window.top==window?1:2)}catch(t){W(31,0)}}(),Jr(window,"error",Wt),Ht={},Rt={}},stop:function(){Rt={}}}),Jn,Pn,pe,hn];function sa(t){void 0===t&&(t=null),function(){try{var t=navigator&&"globalPrivacyControl"in navigator&&1==navigator.globalPrivacyControl;return!1===ra&&"undefined"!=typeof Promise&&window.MutationObserver&&document.createTreeWalker&&"now"in Date&&"now"in performance&&"undefined"!=typeof WeakMap&&!t}catch(t){return!1}}()&&(!function(t){if(null===t||ra)return!1;for(var e in t)e in o&&(o[e]=t[e])}(t),aa(),ue(),ca.forEach((function(t){return Vr(t.start)()})),null===t&&ha())}function la(){oa()&&(ca.slice().reverse().forEach((function(t){return Vr(t.stop)()})),ce(),ia(),void 0!==pa&&(pa[fa]=function(){(pa[fa].q=pa[fa].q||[]).push(arguments),"start"===arguments[0]&&pa[fa].q.unshift(pa[fa].q.pop())&&ha()}))}var da=Object.freeze({__proto__:null,consent:kr,consentv2:_r,event:kt,hashText:Hn,identify:U,maxMetric:W,measure:Vr,metadata:yr,pause:function(){oa()&&(kt("webinsights","pause"),null===ve&&(ve=new Promise((function(t){ge=t}))))},queue:kn,register:on,resume:function(){oa()&&(ve&&(ge(),ve=null,null===he&&ye()),kt("webinsights","resume"))},set:L,signal:function(t){ae=t},start:sa,stop:la,time:l,upgrade:Zn,version:d}),pa=window,fa="webinsights";function ha(){if(void 0!==pa){if(pa[fa]&&pa[fa].v)return console.warn("Error WI001: Multiple webinsights tags detected.");var t=pa[fa]&&pa[fa].q||[];for(pa[fa]=function(t){for(var e=[],n=1;n0;)pa[fa].apply(pa,t.shift())}}ha()}();